 <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
  
 <%@ page language="java" contentType="text/html; charset=UTF-8"   pageEncoding="UTF-8"%>
 
 
	 
	  	<!--我的测评列表-->
	<div class="not_right" >
		<div class="not_righttitle">
			<div class="not_righttitle01"> <a href="#">我的测评</a> </div>
			<div class="not_righttb">
					<div class="exam_title">
						<a href="javascript:ExamHandle.tab1();">
							<c:choose>  
							   <c:when test="${ tab==1 or tab ==null}" >    
							   		<div class="exam_title01"> 未完成测评 </div>
							   </c:when>  
							   <c:otherwise>  
									<div class="exam_title02"> 未完成测评 </div>
							   </c:otherwise>  
							</c:choose>
						</a>
						<!--  -->
						<a href="javascript:ExamHandle.tab2();">
							<c:choose>  
							   <c:when test="${ tab==2}" >    
							   		<div class="exam_title01"> 已完成测评 </div>
							   </c:when>  
							   <c:otherwise>  
									<div class="exam_title02"> 已完成测评 </div>
							   </c:otherwise>  
							</c:choose>
						</a> 
					
					</div>
					  
						<c:forEach items="${pageData.data}" var="examVo"   >
						<div class="exam_content">
							<div class="exam_contlist">
								<div class="exam_contlistl"> 
									<a href="/student/exam/${examVo.examId}"   target="_blank" >
										<div class="exam_contlistl01">${examVo.examNm} </div>
									</a>
									<div class="exam_contlistl02">所属课程：<a href="/student/curriculum/initCourseCtg/${examVo.examId}"   target="_blank" >${examVo.courseNm}</a> </div>
								</div>
								<div class="exam_contlistr">
								 	<a href="/student/exam/${examVo.examId}"   target="_blank" >
										<div class="exam_contlistr01"> 开始测评 </div>
									</a> 
								</div>
							</div>
						
					 </c:forEach>
				 	
					 
				</div>
			</div>
		</div>
		
		
		<c:if test="${ pageData.data !=null and fn:length(pageData.data)>0}">
			<!--  执行分页 ，构造分页 -->
			<script language="javascript">
			  // 初始化点击分页按钮的方法	  
		 	  onPageClickFunction =  function(pageNumber, event){	 		 
			 		var pdata = {};
			    	if(pageNumber){
			    		pdata.pageNo = pageNumber;
			    	}
			    	AjaxTool("GET","/student/exam/init/?type=${tab}",pdata,"html",
				    	function (data){
					    	 //返回内容 
					    	if(data){	
					    		$("#contentDiv").html("");
					    		$("#contentDiv").html(data);		    		
					    	};
					    } 
			    	);  
		      };
			</script>
		</c:if>
		
		 <!--  我是分页 -->
		 <%@ include file="../paging.jsp"%>
		
		
		
	</div>
	<!--end我的测评列表--> 